package com.example.petplanet.mapper;


import com.example.petplanet.domain.LikeContent;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LikeContentDao {
    int insert(Long userId, Long contentId, Long targetId, boolean status);

    void batchInsertLikeContent(List<LikeContent> likeContents);

    int cancelLike(Long userId, Long contentId);

    Long getLikesByUserId(Long targetID);

    List<LikeContent> selectLikeContentById(Long contentId);
}
